package collection;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Collection c = new ArrayList();
        Person p1 = new Person("aa",11);
        Person p2 = new Person("bb",22);
        Person p3 = new Person("c",33);
        c.add(p1);
        c.add(p2);
        c.add(p3);

        Scanner scan = new Scanner(System.in);
        String name = scan.nextLine();
        System.out.println(name.toString());
        int age = scan.nextInt();


    }
}
